/*
* Configuration of module: CanIf
*
* Created by:   qinminyuan
* Copyright:    (C)  
*
* Configured for (MCU):    MCU
*
* Module vendor:           ArcCore
* Generator version:       01.00
*/

#ifndef CANIF_CFG_H_
#define CANIF_CFG_H_
/* ============================ [ INCLUDES  ] ====================================================== */
#include "Can.h"
/* ============================ [ MACROS    ] ====================================================== */
#define CANIF_VERSION_INFO_API   STD_OFF
#define CANIF_DEV_ERROR_DETECT   STD_OFF
#define CANIF_DLC_CHECK          STD_ON

#define CANIF_TASK_FIFO_MODE     STD_OFF
#define CANIF_RX_FIFO_SIZE       32
#define CANIF_TX_FIFO_SIZE       32

#define CANIF_MULITPLE_DRIVER_SUPPORT       STD_OFF   /*  Not supported */
#define CANIF_READRXPDU_DATA_API            STD_OFF   /*  Not supported */
#define CANIF_READRXPDU_NOTIFY_STATUS_API   STD_OFF   /*  Not supported */
#define CANIF_READTXPDU_NOTIFY_STATUS_API   STD_OFF   /*  Not supported */
#define CANIF_SETDYNAMICTXID_API            STD_OFF   /*  Not supported */
#define CANIF_WAKEUP_EVENT_API              STD_OFF   /*  Not supported */
#define CANIF_TRANSCEIVER_API               STD_OFF   /*  Not supported */
#define CANIF_TRANSMIT_CANCELLATION         STD_OFF   /*  Not supported */
#define CANIF_ARC_RUNTIME_PDU_CONFIGURATION STD_OFF   /*  Not supported */
#define CANIF_CANPDUID_READDATA_API         STD_OFF   /*  Not supported */
#define CANIF_READRXPDU_NOTIF_STATUS_API    STD_OFF   /*  Not supported */

/*CanIf Receive */
#define CANIF_ID_Phys_DiagRx                      0
#define CANIF_ID_Func_DiagRx                      1
/*CanIf Transmit */
#define CANIF_ID_Phys_DiagTx                      0

/* ============================ [ TYPES     ] ====================================================== */
/* Identifiers for the elements in CanIfControllerConfig[]
 * This is the ConfigurationIndex in CanIf_InitController() */
typedef enum {
	Channel1_CONFIG_0,

    CANIF_CHANNEL_CONFIGURATION_CNT
}CanIf_Arc_ConfigurationIndexType;

typedef enum {
	Channel1                        ,/* CAN_CTRL_0                       */

    CANIF_CHANNEL_CNT
}CanIf_Arc_ChannelIdType;

#endif

